package com.xinyu.web.testJdbcTemplate;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.xinyu.web.testTX.AccountServiceImp;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:com/xinyu/web/testTX/application.xml")
public class TestTx {
	@Resource(name="accountservice")
	private AccountServiceImp asi;
	@Test
	public void fn() {
		asi.transfer(1, 2, 100d);
	}
}
